package org.shangrila.wfm.eo;

import java.io.Serializable;
import javax.persistence.*;


/**
 * The persistent class for the WFM_TRANSITION database table.
 * 
 */
@Entity
@Table(name="WFM_TRANSITION")
@NamedQuery(name="WfmTransition.findAll", query="SELECT w FROM WfmTransition w")
public class WfmTransition implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private String id;

	@Column(name="DISPLAY_NAME")
	private String displayName;

	private String expr;

	@Column(name="FROM_NODE")
	private String fromNode;

	private String interceptors;

	private String name;

	private String offset;

	private String seqno;

	@Column(name="TO_NODE")
	private String toNode;

	@Column(name="TO_SEQNO")
	private String toSeqno;

	@Column(name="FROM_SEQNO")
	private String fromSeqno;

	@Column(name="\"VARIABLES\"")
	private String variables;

	//bi-directional many-to-one association to WfmProcess
	@ManyToOne
	@JoinColumn(name="PROCESS_ID")
	private WfmProcess wfmProcess;

	public WfmTransition() {
	}

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getDisplayName() {
		return this.displayName;
	}

	public void setDisplayName(String displayName) {
		this.displayName = displayName;
	}

	public String getExpr() {
		return this.expr;
	}

	public void setExpr(String expr) {
		this.expr = expr;
	}

	public String getFromNode() {
		return this.fromNode;
	}

	public void setFromNode(String fromNode) {
		this.fromNode = fromNode;
	}

	public String getInterceptors() {
		return this.interceptors;
	}

	public void setInterceptors(String interceptors) {
		this.interceptors = interceptors;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getOffset() {
		return this.offset;
	}

	public void setOffset(String offset) {
		this.offset = offset;
	}

	public String getSeqno() {
		return this.seqno;
	}

	public void setSeqno(String seqno) {
		this.seqno = seqno;
	}

	public String getToNode() {
		return this.toNode;
	}

	public void setToNode(String toNode) {
		this.toNode = toNode;
	}

	public String getVariables() {
		return this.variables;
	}

	public void setVariables(String variables) {
		this.variables = variables;
	}

	public String getToSeqno() {
		return toSeqno;
	}

	public void setToSeqno(String toSeqno) {
		this.toSeqno = toSeqno;
	}

	public String getFromSeqno() {
		return fromSeqno;
	}

	public void setFromSeqno(String fromSeqno) {
		this.fromSeqno = fromSeqno;
	}

	public WfmProcess getWfmProcess() {
		return this.wfmProcess;
	}

	public void setWfmProcess(WfmProcess wfmProcess) {
		this.wfmProcess = wfmProcess;
	}

}